<%--
  Created by IntelliJ IDEA.
  User: 愿黑星照常升起
  Date: 2023/10/19
  Time: 9:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%
        if (session.getAttribute("user") != null) {
    %>

    <jsp:forward page="goodsmarket"></jsp:forward>

    <%
            return;
        }
    %>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="./static/plugins/bootstrap-3.4.1-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="./static/plugins/bootstrap-3.4.1-dist/js/bootstrap.js">

</head>
<body>
<%--首页--%>
<jsp:include page="header.jsp"/>


<!--首页内容-->
<form action="/Java_web/indexServlet" method="post">
<div class="container">
    <div class="row">
        <div class="col-md-12">
            <div class="jumbotron">
                <h1>欢迎来到蛋糕店</h1>
                <p>这是一个简单蛋糕管理系统</p>

                <p><a class="btn btn-primary btn-lg" href="login.jsp" role="button">登录</a></p>
            </div>
        </div>
    </div>
</div>




<script src="./static/js/jquery-3.6.0.min.js"></script>
<script src="./static/plugins/bootstrap-3.4.1-dist/js/bootstrap.js"></script>
<%--尾部--%>
<jsp:include page="footer.jsp"/>
</body>
</html>